package com.i2.myworld.june.authorize;

import org.junit.Test;

public class InnerClassExample2 {
	private String field;
	
	public class Inner {
		public Inner(String field) {
			
		}
	}
	
	@Test(expected=NoSuchMethodException.class)
	public void innerHasNoNoArgConstructor() throws Exception {
	//	Inner.class.getConstructor(new Class[] {String.class});
		Inner.class.getConstructor(new Class[0]);
	}
}
